﻿namespace System
{
    /// <summary>
    /// 主键
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class PrimaryAttribute : ColumnAttribute
    {
        public PrimaryAttribute() : this(0)
        {
        }
        public PrimaryAttribute(int length) : base(length)
        {
        }
        public PrimaryType PrimaryType { get; set; } = PrimaryType.Default;
    }
}
